package com.ruoyi.wechat.open.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统用户公众号关联对象 jw_system_user_jwid
 * 
 * @author ruoyi
 * @date 2020-12-01
 */
public class JwSystemUserJwid extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 用户编码 */
    @Excel(name = "用户编码")
    private Long userId;

    /** 公众号 */
    @Excel(name = "公众号")
    private String jwid;

    /** 1为默认登录公共号 */
    @Excel(name = "1为默认登录公共号")
    private String defaultFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setJwid(String jwid) 
    {
        this.jwid = jwid;
    }

    public String getJwid() 
    {
        return jwid;
    }
    public void setDefaultFlag(String defaultFlag) 
    {
        this.defaultFlag = defaultFlag;
    }

    public String getDefaultFlag() 
    {
        return defaultFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("jwid", getJwid())
            .append("defaultFlag", getDefaultFlag())
            .toString();
    }
}
